<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" rel="stylesheet" href="__ROOT__/admin/tpl/public/style/{$hd.session.style}.css"/>
		<css file="__ROOT__/admin/tpl/public/css/common.css"/>
		<css file="__ROOT__/admin/tpl/public/css/article.css"/>
		<title>Insert title here</title>
    	<jquery/>
	</head>
    <body>		
        <div id='acticleShow' class='comShow'>
            <h1><a href="javascript:;">发表文章</a></h1>
            <form action='__CONTROL__/edit' method="post">
            	<input type="hidden" name="uid" value="{$data['uid']}" />
                <input type="hidden" name="id" value="{$data['id']}" />
				<table class="table2">
                    <tr>
                        <th>
                            标题：
                        </th>
                        <td>
                            <input value="{$data['title']}" type="text" name="title" style="width:360px; " />
                        </td>
                    </tr>
                    <tr>
                        <th>
                            发表栏目：
                        </th>
                        <td>
                            <select name="cid">
                                <option value="{$data['cid']}">{$data['cname']}</option>
								<list from="$category" name="$v">									
									<option value="{$v.catid}">{$v.html}{$v.cname}</option>
								</list>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            来源：
                        </th>
                        <td>
                            <input type="text" value="{$data['source']}" name="news_data[source]" style="width:200px;"/>
                            <select>
                            	<option value="">===选择来源===</option>
                            	<list from="$sourceaaa" name="$n">
                                	<option value="{$n.sid}">{$n.sname}</option>
								</list>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            缩略图：
                        </th>
                        <td height=100>                        	
                      		<upload name="thumb" limit="1" imagesize="200,200" thumb_type="6" />
							<div id="hd_upload">
                                  <input type="hidden" name="thumb" value="{$data['thumb']}"/>
                                  <img src="__ROOT__/{$data['thumb']}"/>
                            </div>	 							
                        </td>
                    </tr>
                    <tr>
                        <th>
                            关键字：
                        </th>
                        <td>
                            <input type="text" name="keywords" style="width:300px;" value='{$data['keywords']}'/>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            描述：
                        </th>
                        <td>
                            <textarea style="height:60px;width:90%" name="description">{$data['description']}</textarea>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            正文：
                        </th>
                        <td>
                            <editor name="news_data[body]" content="{$data['body']}" type="2" style="1"/>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            点击率：
                        </th>
                        <td>
                            <input type="text" name="click" style="width:100px;" value="{$data['click']}"/>
                        </td>
                    </tr>
                </table>
				 <input type="submit" class="submit" value="添加文章"/>
            </form>
        </div>
		
    </body>
</html>